const db = require('../db')

module.exports = {
    async getInfo(id) {
        return (await db.select(`select * from departments where id = ${id}`))[0]
    }
}